package me.shiqiang.im.consumer;

import com.aliyun.openservices.ons.api.Action;
import com.aliyun.openservices.ons.api.ConsumeContext;
import com.aliyun.openservices.ons.api.Message;

/**
 * @author cuishiqiang
 * @date 2017/12/17 下午7:09
 */
public interface MsgListener {

    Action consume(Message message, ConsumeContext context);
}
